<?php

Yii::import('application.models._base.BaseProductFee');
class ProductFee extends BaseProductFee
{
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	
	
	public $value_price    = 0;
	public $auction_fee    = 0;
	public $shipping_fee   = 0;
	public $billing_fee    = 0;
	public $bids		    =0;
	
	public function rules(){
	    return array(
            array('bids,value_price,auction_fee,shipping_fee,billing_fee','HashAttribute'),
	        array('fee_name','HashNameAttribute'),
	        array('fee_value','HashValueAttribute'),
	        array('product_id','HashPrimaryAttribute')
	    );
	}
	
}